@import '@/style/imports';

.page-seckill-goods {
  height: 100vh;
  &.has-navbar {
    .seckill-goods {
      &__scroll {
        @include page-scroll($navigate-height, 0);
      }
    }

    .taro-img {
      height: auto;
    }
  }

  .seckill-goods {
    &__scroll {
      @include page-scroll(0, 0);
    }
    &__swiper {
      box-sizing: border-box;
      width: 100%;
    }
    &__list {
      padding: 30px;
      line-height: 1.3;
    }
    &__timer {
      display: flex;
      justify-content: center;
      margin: $edge-margin * 2 0;
    }
    margin: 0 -10px;
    &__type-list {
      .goods-item__bd {
        display: flex;
        &::after {
          content: '';
        }
      }
      .goods-item__img-wrap {
        width: 35vw;
        height: 35vw;
      }
      .goods-item__cont {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 35vw;
        height: auto;
        flex: 1;
        &::after {
          position: absolute;
          left: 0;
          right: 0;
          bottom: 0;
          height: 1px;
          background: #efefef;
          content: '';
        }
      }
      .goods-item__caption {
        flex: 1;
        height: auto;
      }
    }
  }
  .seckill-goods__list {
    &-btn {
      position: absolute;
      right: 40px;
      bottom: 40px;
      width: 130px;
      margin-left: 20px;
      padding: 6px 0;
      text-align: center;
      border-radius: 30px 30px 30px 0;
      color: #fff;
      font-size: 26px;
    }
  }
  .at-countdown__time-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 60px;
    padding: 0 6px;
    background: #333;
    color: #fff;
    border-radius: 6px;
    font-size: 28px;
    font-family: sans-serif;
  }
}
